package com.sweetguy.dto;

import com.sweetguy.constant.RE;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Schema(name = "秒杀明细分页DTO")
@Data
public class SeckillDetailPageDTO extends PageDTO implements RE {

    @NotEmpty(message = "活动主键不能为空")
    @Schema(description = "秒杀活动主键")
    private String seckillId;

    @Schema(description = "课程标题")
    private String courseTitle;
}
